package synchronizedTest;

public class Thread_02_isalive {
    public static void main(String[] args) throws InterruptedException {
        Thread t1 = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("1");
            }
        },"线程一");

        Thread t2 = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("2");
            }
        },"线程二");
        t1.start();


    }
}
